1 #ifndef AUTHOR_H
2 #define AUTHOR_H
3
4 #include
"Person.h"
5 #include <
string>
6
7 using
namespace std;
8
9 class
Author: public Person
10 {

11 public
:
12     Author();
13     
int getIdNumber() const;
14     
int getYearOfDeath() const;
15     
void setIdNumber(const int newIdNumber);
16     
void setYearOfDeath(const int newYearOfDeath);
17     
void printAuthorInfo() const;
18
19     ~Author();

20 private
:
21     
int idNumber, yearOfDeath;
22 };
23 #endif


Gõ tìm kiếm nhanh...